home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
etc
/
acpi
/
always-mute.sh
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
2008-10-14
|
395b
|
11 lines
#!/bin/sh
# on ThinkPads, the volume keys always performs mute,
# regardless of the previous state; for the moment
# we fake this by "always" unmuting and then remuting.
# Kludge/behaviour copied over from 'thinkpad-keys'
# -Paul Sladen 2007-09-13
[ -f /usr/share/acpi-support/key-constants ] || exit 0
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_VOLUMEUP
acpi_fakekey $KEY_MUTE